<html>
<body>
<h2 align="center"><font color="red">Item List</font></h2>
<hr>
<center>
  <form name="itemList" method="get" action="{$smarty.server.PHP_SELF}">
  <a href="index.php">Home</a>&nbsp&nbsp&nbsp
  <input type="submit" name="submitBtn" value="Submit">
  <br /><br />
    <table border="1">
      <tr>
        <th>Item Id</th>
        <th>Min</th>
      </tr>
      {section name=sec loop=$itemArray}
      <tr>
        <td>{$itemArray[sec].itemId}</td>
        <td><input type="text" name="minValue[]" id="{$itemArray[sec].itemId}" value="{$itemArray[sec].min}" ></td>
      </tr>
      {/section}
  </form>
</center>
</body>
</html>